export const webData = {
  id: 'n0',
  children: [
    {
      id: 'n1',
      labels: 'DatagramReader',
      ports: [
        {
          id: 'p1',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '0'
          }
        },
        {
          id: 'p2',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '1'
          }
        },
        {
          id: 'p3',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '2'
          }
        },
        {
          id: 'p4',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '3'
          }
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      width: 55,
      height: 40
    },
    {
      id: 'n2',
      labels: [
        {
          text: 'Ramp',
          layoutOptions: {
            'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
          },
          width: 50,
          height: 12
        }
      ],
      ports: [
        {
          id: 'p1_g837978',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '0'
          }
        },
        {
          id: 'p2_g739884',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '1'
          }
        },
        {
          id: 'p3_g539420',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '2'
          }
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      width: 55,
      height: 40
    },
    {
      id: 'n3',
      labels: [
        {
          text: 'QueueControl',
          layoutOptions: {
            'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
          },
          width: 100,
          height: 12
        }
      ],
      ports: [
        {
          id: 'p1_g572291',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '0'
          }
        },
        {
          id: 'p2_g653563',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '1'
          }
        },
        {
          id: 'p3_g722216',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '2'
          }
        },
        {
          id: 'p4_g748499',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '3'
          }
        },
        {
          id: 'p5',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '4'
          }
        },
        {
          id: 'p6',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '5'
          }
        },
        {
          id: 'p7',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '6'
          }
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      width: 55,
      height: 40
    },
    {
      id: 'n4',
      labels: [
        {
          text: 'Display',
          layoutOptions: {
            'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
          },
          width: 35,
          height: 12
        }
      ],
      ports: [
        {
          id: 'p1_g255145',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '0'
          }
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      width: 35,
      height: 27
    },
    {
      id: 'n5',
      labels: [
        {
          text: 'Interface - fast',
          layoutOptions: {
            'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
          },
          width: 10,
          height: 12
        }
      ],
      ports: [
        {
          id: 'p1_g820682',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '0'
          }
        },
        {
          id: 'p2_g506569',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '1'
          }
        }
      ],
      children: [
        {
          id: 'n6',
          labels: [
            {
              text: 'Sleep',
              layoutOptions: {
                'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
              },
              width: 50,
              height: 12
            }
          ],
          ports: [
            {
              id: 'p1_g582202',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'WEST',
                'port.index': '0'
              }
            },
            {
              id: 'p2_g036217',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'EAST',
                'port.index': '1'
              }
            },
            {
              id: 'p3_g791687',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'SOUTH',
                'port.index': '2'
              }
            }
          ],
          layoutOptions: {
            portConstraints: 'FIXED_ORDER'
          },
          width: 50,
          height: 35
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      edges: [
        {
          id: 'e15',
          sources: ['p1_g820682'],
          targets: ['p1_g582202']
        },
        {
          id: 'e16',
          sources: ['p2_g036217'],
          targets: ['p2_g506569']
        }
      ]
    },
    {
      id: 'n7',
      labels: [
        {
          text: 'Interface - slow',
          layoutOptions: {
            'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
          },
          width: 100,
          height: 12
        }
      ],
      ports: [
        {
          id: 'p1_g261431',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '0'
          }
        },
        {
          id: 'p2_g518944',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '1'
          }
        }
      ],
      children: [
        {
          id: 'n8',
          labels: [
            {
              text: 'Sleep',
              layoutOptions: {
                'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
              },
              width: 50,
              height: 12
            }
          ],
          ports: [
            {
              id: 'p1_g587373',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'WEST',
                'port.index': '0'
              }
            },
            {
              id: 'p2_g014361',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'EAST',
                'port.index': '1'
              }
            },
            {
              id: 'p3_g749816',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'SOUTH',
                'port.index': '2'
              }
            }
          ],
          layoutOptions: {
            portConstraints: 'FIXED_ORDER'
          },
          width: 50,
          height: 35
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      edges: [
        {
          id: 'e17',
          sources: ['p1_g261431'],
          targets: ['p1_g587373']
        },
        {
          id: 'e18',
          sources: ['p2_g014361'],
          targets: ['p2_g518944']
        }
      ]
    },
    {
      id: 'n9',
      labels: [
        {
          text: 'Counter - q1',
          layoutOptions: {
            'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
          },
          width: 55,
          height: 12
        }
      ],
      ports: [
        {
          id: 'p1_g650325',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '0'
          }
        },
        {
          id: 'p2_g732355',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '1'
          }
        },
        {
          id: 'p3_g158827',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '2'
          }
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      width: 55,
      height: 35
    },
    {
      id: 'n10',
      labels: [
        {
          text: 'Counter - q2',
          layoutOptions: {
            'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
          },
          width: 55,
          height: 12
        }
      ],
      ports: [
        {
          id: 'p1_g006148',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '0'
          }
        },
        {
          id: 'p2_g008338',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '1'
          }
        },
        {
          id: 'p3_g606176',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '2'
          }
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      width: 55,
      height: 35
    },
    {
      id: 'n11',
      labels: [
        {
          text: 'channel1',
          layoutOptions: {
            'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
          },
          width: 50,
          height: 12
        }
      ],
      ports: [
        {
          id: 'p1_g044769',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '0'
          }
        }
      ],
      children: [
        {
          id: 'n12',
          labels: [
            {
              text: 'Counter',
              layoutOptions: {
                'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
              },
              width: 75,
              height: 12
            }
          ],
          ports: [
            {
              id: 'p1_g924853',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'WEST',
                'port.index': '0'
              }
            },
            {
              id: 'p2_g825798',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'WEST',
                'port.index': '1'
              }
            },
            {
              id: 'p3_g627665',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'EAST',
                'port.index': '2'
              }
            }
          ],
          layoutOptions: {
            portConstraints: 'FIXED_ORDER'
          },
          width: 55,
          height: 35
        },
        {
          id: 'n13',
          labels: [
            {
              text: 'RecordAssembler',
              layoutOptions: {
                'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
              },
              width: 100,
              height: 12
            }
          ],
          ports: [
            {
              id: 'p1_g710134',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'WEST',
                'port.index': '0'
              }
            },
            {
              id: 'p2_g774554',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'WEST',
                'port.index': '1'
              }
            },
            {
              id: 'p3_g935869',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'EAST',
                'port.index': '2'
              }
            }
          ],
          layoutOptions: {
            portConstraints: 'FIXED_ORDER'
          },
          width: 10,
          height: 40
        },
        {
          id: 'n14',
          labels: [
            {
              text: 'Display',
              layoutOptions: {
                'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
              },
              width: 50,
              height: 12
            }
          ],
          ports: [
            {
              id: 'p1_g849516',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'WEST',
                'port.index': '0'
              }
            }
          ],
          layoutOptions: {
            portConstraints: 'FIXED_ORDER'
          },
          width: 35,
          height: 27
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      edges: [
        {
          id: 'e19',
          sources: ['p1_g044769'],
          targets: ['p2_g825798']
        },
        {
          id: 'e20',
          sources: ['p3_g627665'],
          targets: ['p1_g710134']
        },
        {
          id: 'e21',
          sources: ['p1_g044769'],
          targets: ['p2_g774554']
        },
        {
          id: 'e22',
          sources: ['p3_g935869'],
          targets: ['p1_g849516']
        }
      ]
    },
    {
      id: 'n15',
      labels: [
        {
          text: 'channel2',
          layoutOptions: {
            'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
          },
          width: 50,
          height: 12
        }
      ],
      ports: [
        {
          id: 'p1_g598580',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '0'
          }
        }
      ],
      children: [
        {
          id: 'n16',
          labels: [
            {
              text: 'Counter',
              layoutOptions: {
                'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
              },
              width: 75,
              height: 12
            }
          ],
          ports: [
            {
              id: 'p1_g439211',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'WEST',
                'port.index': '0'
              }
            },
            {
              id: 'p2_g586159',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'WEST',
                'port.index': '1'
              }
            },
            {
              id: 'p3_g324437',
              layoutOptions: {
                'port.side': 'EAST',
                'port.index': '2'
              }
            }
          ],
          layoutOptions: {
            portConstraints: 'FIXED_ORDER'
          },
          width: 55,
          height: 35
        },
        {
          id: 'n17',
          labels: [
            {
              text: 'RecordAssembler',
              layoutOptions: {
                'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
              },
              width: 100,
              height: 12
            }
          ],
          ports: [
            {
              id: 'p1_g816526',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'WEST',
                'port.index': '0'
              }
            },
            {
              id: 'p2_g800534',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'WEST',
                'port.index': '1'
              }
            },
            {
              id: 'p3_g930851',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'EAST',
                'port.index': '2'
              }
            }
          ],
          layoutOptions: {
            portConstraints: 'FIXED_ORDER'
          },
          width: 10,
          height: 40
        },
        {
          id: 'n18',
          labels: [
            {
              text: 'Display',
              layoutOptions: {
                'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
              },
              width: 50,
              height: 12
            }
          ],
          ports: [
            {
              id: 'p1_g183964',
              width: 7,
              height: 7,
              layoutOptions: {
                'port.side': 'WEST',
                'port.index': '0'
              }
            }
          ],
          layoutOptions: {
            portConstraints: 'FIXED_ORDER'
          },
          width: 35,
          height: 27
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      edges: [
        {
          id: 'e23',
          sources: ['p1_g598580'],
          targets: ['p2_g586159']
        },
        {
          id: 'e24',
          sources: ['p3_g324437'],
          targets: ['p1_g816526']
        },
        {
          id: 'e25',
          sources: ['p1_g598580'],
          targets: ['p2_g800534']
        },
        {
          id: 'e26',
          sources: ['p3_g930851'],
          targets: ['p1_g183964']
        }
      ]
    },
    {
      id: 'n19',
      labels: [
        {
          text: 'MonitorValue - q1 length',
          layoutOptions: {
            'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
          },
          width: 150,
          height: 12
        }
      ],
      ports: [
        {
          id: 'p1_g445341',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '0'
          }
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      width: 55,
      height: 40
    },
    {
      id: 'n20',
      labels: [
        {
          text: 'MonitorValue - q2 length',
          layoutOptions: {
            'nodeLabels.placement': '[H_LEFT, V_TOP, OUTSIDE]'
          },
          width: 150,
          height: 12
        }
      ],
      ports: [
        {
          id: 'p1_g930680',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'WEST',
            'port.index': '0'
          }
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      width: 55,
      height: 40
    }
  ],
  edges: [
    {
      id: 'e0',
      sources: ['p3'],
      targets: ['p2_g739884']
    },
    {
      id: 'e1',
      sources: ['p3_g539420'],
      targets: ['p2_g653563']
    },
    {
      id: 'e2',
      sources: ['p5'],
      targets: ['p1_g255145']
    },
    {
      id: 'e3',
      sources: ['p6'],
      targets: ['p1_g820682']
    },
    {
      id: 'e4',
      sources: ['p7'],
      targets: ['p1_g261431']
    },
    {
      id: 'e5',
      sources: ['p6'],
      targets: ['p2_g732355']
    },
    {
      id: 'e6',
      sources: ['p2_g506569'],
      targets: ['p1_g650325']
    },
    {
      id: 'e7',
      sources: ['p7'],
      targets: ['p2_g008338']
    },
    {
      id: 'e8',
      sources: ['p2_g518944'],
      targets: ['p1_g006148']
    },
    {
      id: 'e9',
      sources: ['p2_g506569'],
      targets: ['p1_g044769']
    },
    {
      id: 'e10',
      sources: ['p2_g518944'],
      targets: ['p1_g598580']
    },
    {
      id: 'e11',
      sources: ['p3_g158827'],
      targets: ['p1_g445341']
    },
    {
      id: 'e12',
      sources: ['p1_g445341'],
      targets: ['p3_g722216']
    },
    {
      id: 'e13',
      sources: ['p3_g606176'],
      targets: ['p1_g930680']
    },
    {
      id: 'e14',
      sources: ['p1_g930680'],
      targets: ['p1_g572291']
    }
  ]
}

export const jsonData = {
  id: 'no',
  children: [
    {
      id: 'n1',
      labels: '内网防渗透平台',
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      width: 100,
      height: 40,
      ports: [
        {
          id: 'n1-end',
          width: 0,
          height: 0,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '0'
          }
        }
      ]
    },
    {
      id: 'n2',
      labels: '测试',
      ports: [
        {
          id: 'n2_start',
          width: 0,
          height: 0,
          layoutOptions: {
            'port.side': 'west',
            'port.index': '0'
          }
        },
        {
          id: 'n2_end',
          width: 0,
          height: 0,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '0'
          }
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      width: 55,
      height: 40
    },
    {
      id: 'n3',
      labels: '交换机',
      ports: [
        {
          id: 'n3_start',
          width: 0,
          height: 0,
          layoutOptions: {
            'port.side': 'west',
            'port.index': '0'
          }
        },
        {
          id: 'n3_end',
          width: 0,
          height: 0,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '0'
          }
        },
        {
          id: 'n3_p1',
          width: 7,
          height: 7,
          label: 'p1',
          layoutOptions: {
            'port.side': 'NORTH',
            'port.index': '1'
          }
        },
        {
          id: 'n3_p2',
          width: 7,
          height: 7,
          label: 'p2',
          layoutOptions: {
            'port.side': 'NORTH',
            'port.index': '2'
          }
        },
        {
          id: 'n3_p3',
          width: 7,
          height: 7,
          label: 'p3',
          layoutOptions: {
            'port.side': 'NORTH',
            'port.index': '2'
          }
        },
        {
          id: 'n3_p4',
          width: 7,
          height: 7,
          label: 'p4',
          layoutOptions: {
            'port.side': 'NORTH',
            'port.index': '3'
          }
        },
        {
          id: 'n3_p5',
          width: 7,
          height: 7,
          label: 'p5',
          layoutOptions: {
            'port.side': 'SOUTH',
            'port.index': '4'
          }
        },
        {
          id: 'n3_p6',
          width: 7,
          height: 7,
          label: 'p6',
          layoutOptions: {
            'port.side': 'SOUTH',
            'port.index': '5'
          }
        },
        {
          id: 'n3_p7',
          width: 7,
          height: 7,
          label: 'p7',
          layoutOptions: {
            'port.side': 'SOUTH',
            'port.index': '6'
          }
        },
        {
          id: 'n3_p8',
          width: 7,
          height: 7,
          label: 'p8',
          layoutOptions: {
            'port.side': 'SOUTH',
            'port.index': '7'
          }
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      width: 120,
      height: 40
    },
    {
      id: 'n4',
      labels: '主机1',
      ports: [
        {
          id: 'n4_start',
          width: 0,
          height: 0,
          layoutOptions: {
            'port.side': 'west',
            'port.index': '0'
          }
        }
      ],
      width: 50,
      height: 20
    },
    {
      id: 'n5',
      labels: '主机2',
      ports: [
        {
          id: 'n5_start',
          width: 0,
          height: 0,
          layoutOptions: {
            'port.side': 'west',
            'port.index': '0'
          }
        }
      ],
      width: 50,
      height: 20
    },
    {
      id: 'n6',
      labels: '主机3',
      ports: [
        {
          id: 'n6_start',
          width: 0,
          height: 0,
          layoutOptions: {
            'port.side': 'west',
            'port.index': '0'
          }
        }
      ],
      width: 50,
      height: 20
    },
    {
      id: 'n7',
      labels: '主机4',
      ports: [
        {
          id: 'n7_start',
          width: 0,
          height: 0,
          layoutOptions: {
            'port.side': 'west',
            'port.index': '0'
          }
        }
      ],
      width: 50,
      height: 20
    },
    {
      id: 'n8',
      labels: '主机5',
      ports: [
        {
          id: 'n8_start',
          width: 0,
          height: 0,
          layoutOptions: {
            'port.side': 'west',
            'port.index': '0'
          }
        }
      ],
      width: 50,
      height: 20
    },
    {
      id: 'n9',
      labels: '交换机2',
      ports: [
        {
          id: 'n9_start',
          width: 0,
          height: 0,
          layoutOptions: {
            'port.side': 'west',
            'port.index': '0'
          }
        },
        {
          id: 'n9_end',
          width: 0,
          height: 0,
          layoutOptions: {
            'port.side': 'EAST',
            'port.index': '0'
          }
        },
        {
          id: 'n9_p1',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'NORTH',
            'port.index': '1'
          }
        },
        {
          id: 'n9_p2',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'NORTH',
            'port.index': '2'
          }
        },
        {
          id: 'n9_p3',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'NORTH',
            'port.index': '2'
          }
        },
        {
          id: 'n9_p4',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'NORTH',
            'port.index': '3'
          }
        },
        {
          id: 'n9_p5',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'SOUTH',
            'port.index': '4'
          }
        },
        {
          id: 'n9_p6',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'SOUTH',
            'port.index': '5'
          }
        },
        {
          id: 'n9_p7',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'SOUTH',
            'port.index': '6'
          }
        },
        {
          id: 'n9_p8',
          width: 7,
          height: 7,
          layoutOptions: {
            'port.side': 'SOUTH',
            'port.index': '7'
          }
        }
      ],
      layoutOptions: {
        portConstraints: 'FIXED_ORDER'
      },
      width: 120,
      height: 40
    },
    {
      id: 'n10',
      labels: '主机6',
      ports: [
        {
          id: 'n10_start',
          width: 0,
          height: 0,
          layoutOptions: {
            'port.side': 'west',
            'port.index': '0'
          }
        }
      ],
      width: 50,
      height: 20
    }
  ],
  edges: [
    {
      id: 'e0',
      sources: ['n1-end'],
      targets: ['n2_start']
    },
    {
      id: 'e1',
      sources: ['n2_end'],
      targets: ['n3_start']
    },
    {
      id: 'e2',
      sources: ['n3_p1'],
      targets: ['n4_start']
    },
    {
      id: 'e3',
      sources: ['n3_p2'],
      targets: ['n5_start']
    },
    {
      id: 'e4',
      sources: ['n3_p3'],
      targets: ['n6_start']
    },
    {
      id: 'e5',
      sources: ['n3_p5'],
      targets: ['n7_start']
    },
    {
      id: 'e6',
      sources: ['n3_p6'],
      targets: ['n8_start']
    },
    {
      id: 'e7',
      sources: ['n3_p7'],
      targets: ['n9_start']
    },
    {
      id: 'e7',
      sources: ['n9_p7'],
      targets: ['n10_start']
    }
  ]
}
